package Test1;

public class Cat extends Animal{

    public void bark() {
        System.out.println(this.name + "正在猫叫...");
    }

    public Cat() {
        this("旺财", 2, "male");
    }
    public Cat(String name, int age, String gender) {
        this.name = name;
        this.age = age;
        this.gender = gender;
    }
}
